package com.example.controller;


import com.example.service.UserService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController("/user")
@Slf4j
@RequiredArgsConstructor
public class userController {

    private UserService userService;

    @RequestMapping("/select/all/users")
    public void getAllUser() {
        userService.getAllUser();
    }

}
